﻿<%@ Page Language="VB" MasterPageFile="~/masterpages/admin.master" AutoEventWireup="false" CodeFile="registerAdmin.aspx.vb" Inherits="admin_registerAdmin" title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">

    <strong>User Registration</strong><br /><br /> 
First Name:<br />  
<asp:TextBox id="txtFName" runat="server" /><br />
Last Name:<br />  
<asp:TextBox id="txtLName" runat="server" /><br />
Birth Date:<br />  
<asp:TextBox id="txtBirthDate" runat="server" />
    <asp:RegularExpressionValidator ID="valBirthDate" runat="server" ControlToValidate="txtBirthDate" ErrorMessage="Enter your birthdate" Display="Dynamic" ValidationExpression="\b(0?[1-9]|1[012])[ /](0?[1-9]|[12][0-9]|3[01])[ /](19|20)?[0-9]{2}\b" />
<br />
Email:<br />  
<asp:TextBox id="txtEmail" runat="server" /><br /><br /> 
Password:<br />  
<asp:TextBox id="txtPassword" runat="server" TextMode="Password" />
<asp:RequiredFieldValidator ID="valPassword" runat="server" ErrorMessage="Enter password" ControlToValidate="txtPassword" /><br /> 
Verify Password:<br />  
<asp:TextBox id="txtPassword2" runat="server" TextMode="Password" />
<asp:CompareValidator ID="valPassword2" runat="server" ErrorMessage="Passwords do not match" ControlToValidate="txtPassword2" ControlToCompare="txtPassword" /><br /> 
<asp:Button id="btnAddCredentials" runat="server" Text="Add Credentials" />

</asp:Content>

